package com.chengqs.rapid.core.balance;

import com.chengqs.rapid.common.config.ServiceInstance;
import com.chengqs.rapid.core.context.RapidContext;

/**
 * <B>主类名称：</B>LoadBalance<BR>
 * <B>概要说明：</B>负载均衡最上层的接口定义<BR>
 *
 * @author: chengqs
 * @create: 2025-03-17 00:56:09
 **/
public interface LoadBalance {

    int DEFAULT_WEIGHT = 100;

    int DEFAULT_WARMUP = 5 * 60 * 1000;

    ServiceInstance select(RapidContext context);
}
